<?php
/**
 * Created by PhpStorm.
 * User: dell
 * Date: 2017/6/14
 * Time: 10:52
 */

namespace Weixin\Exception;


use Common\Common\CommonException;

class WeixinException extends CommonException
{
    protected $error = array(
        '10000' => '未知错误',
        '10001' => '缺少必要参数',
        '10002' => '参数值不符合规定的数据类型',
        '10003' => '参数值不在规定的数据范围内',
        '10011' => '系统数据发生错误',
        '30001' => '添加微信信息失败',
        '30002' => '添加用户信息失败',
        '30003' => '添加关联信息失败',
        '30004' => '更新微信信息失败',
        '30005' => '设置cookie失败',
        '30006' => '修改关注状态失败',
        '30007' => 'appid不能为空',
        '30008' => 'apsecret不能为空',
        '30009' => 'token不能为空',
        '30010' => 'Encodingaeskey不能为空',
    );
}